/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycompany.mdc.beans;




/**
 *
 * @author janksenhu
 */
public class MobileMachineInfo {
    private String id;//hibernate自动生成uuid为主键
    private String phoneCompany;//手机生产商
    private String phoneMac;//手机的Mac地址
    private String phoneCpuSerial;//手机Cpu的序列号
    private long phoneMemory;//手机内存KB
    private long phoneSdcard;//手机sd卡大小KB
    private long phoneX;//手机屏幕宽度
    private long phoneY;//手机屏幕高度

    public MobileMachineInfo() {
    }

    public MobileMachineInfo(String phoneCompany, String phoneMac, String phoneCpuSerial, long phoneMemory, long phoneSdcard, long phoneX, long phoneY) {
        this.phoneCompany = phoneCompany;
        this.phoneMac = phoneMac;
        this.phoneCpuSerial = phoneCpuSerial;
        this.phoneMemory = phoneMemory;
        this.phoneSdcard = phoneSdcard;
        this.phoneX = phoneX;
        this.phoneY = phoneY;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
     
    
    
    public String getPhoneCompany() {
        return phoneCompany;
    }

    public void setPhoneCompany(String phoneCompany) {
        this.phoneCompany = phoneCompany;
    }

    public String getPhoneMac() {
        return phoneMac;
    }

    public void setPhoneMac(String phoneMac) {
        this.phoneMac = phoneMac;
    }

    public String getPhoneCpuSerial() {
        return phoneCpuSerial;
    }

    public void setPhoneCpuSerial(String phoneCpuSerial) {
        this.phoneCpuSerial = phoneCpuSerial;
    }

    public long getPhoneMemory() {
        return phoneMemory;
    }

    public void setPhoneMemory(long phoneMemory) {
        this.phoneMemory = phoneMemory;
    }

    public long getPhoneSdcard() {
        return phoneSdcard;
    }

    public void setPhoneSdcard(long phoneSdcard) {
        this.phoneSdcard = phoneSdcard;
    }

    public long getPhoneX() {
        return phoneX;
    }

    public void setPhoneX(long phoneX) {
        this.phoneX = phoneX;
    }

    public long getPhoneY() {
        return phoneY;
    }

    public void setPhoneY(long phoneY) {
        this.phoneY = phoneY;
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public String toString() {
        return this.phoneCompany+" "+this.phoneMac;
    }
    
    
    
}
